<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Adding Unit</title>
</head>
#{if flash.error}
    <p style="color:#c00">
        ${flash.error}
    </p>
#{/if}
<body>
<form action="@{Units.AddUnit()}" method="get">
<p><b>Unit Code : </b></p> <input type="text" name="UnitCode" required>
<p><b>Unit Price : </b></p> <input type="text" name="UnitPrice" required>
<p><b>Unit Length : </b></p> <input type="text" name="UnitLength" required>
<p><b>Unit Width : </b></p> <input type="text" name="UnitWidth" required>
<p><b>Unit Status : </b></p> 
<select name="UnitStatus">
<option value="Under Construction" selected>Under Construction</option>
<option value="Delivered">Delivered</option>
</select>
<p><b>Delivery Date : </b></p> <input type="text" name="DeliveryDate" required>
<br>
<br>

<input type="submit" Value="Add Unit">
</form>



</body>
</html>